home *** CD-ROM | disk | FTP | other *** search
- Path: hilbert.dnai.com!usenet
- From: Victor Bazarov <vbazarov@imsisoft.com>
- Newsgroups: comp.lang.c
- Subject: Re: (void(far *)()) 0
- Date: Mon, 05 Feb 1996 11:33:49 -0800
- Organization: IMSI
- Message-ID: <31165B9D.398E@imsisoft.com>
- References: <341998718.10858110@magnet.at>
- NNTP-Posting-Host: 204.182.61.84
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b6a (Win95; I)
-
- markus imlinger wrote:
- >
- > In a C-Programm I saw the instruction:
- > .... = (void(far *)()) 0;
- >
- > It seems that (void(far *)()) is a cast-
- > operator.
- >
- > If so this instruction casts 0 to a far-
- > pointer to a function which returns nothing.
-
- And has no parameters.
-
- > Now I want to know if my assumption is right and
- > in case it is, what does this mean for 0 ?
-
- Nothing but what you've said -- cast. '0' has type 'int',
- and must be converted into pointer to function in order
- to be properly assigned.
-
- Victor.
-